#!/usr/bin/env node


console.log('PID:',process.pid);

process.stdin.resume();

process.on('SIGINT',()=>{
  console.log('Ctrl+C可以退出');
  process.exit();
});

process.on('SIGTSTP',()=>{
  console.log('Ctrl+Z可以挂起');
})
